package ren.colorful.learnJava.datastructure;

import java.util.LinkedList;
import java.util.Queue;

import ren.colorful.log.LoggerUtil;

public class UseQueue{
	public static void main(String[] args){
		Queue<Integer> queue = new LinkedList<Integer>();
		LoggerUtil.log(queue);
		for(int i = 1; i <10; i++){
			queue.offer(i);
		}
		LoggerUtil.log(queue);
		LoggerUtil.log(queue.poll());
		LoggerUtil.log(queue);
	}
}
